<!--
 * @Author: wcc007
 * @Date: 2022-11-18 14:04:30
 * @LastEditors: wcc007
 * @LastEditTime: 2022-11-18 18:16:00
 * @Description: file content
 * @FilePath: \front-end-of-task-center\src\components\generator\form-extention\un-region\Setter.vue
-->
<template >
  <!-- <el-form-item
    v-if="activeData.__config__.tag === 'UnRegion'"
    label="展示层级"
  >
    <el-select v-model="activeData.showLevel" >
      <el-option :value="1" label="一级"></el-option>
      <el-option :value="2" label="二级"></el-option>
      <el-option :value="3" label="三级"></el-option>
      <el-option :value="4" label="四级"></el-option>
    </el-select>
  </el-form-item> -->
  <div>
    <el-divider direction="horizontal" content-position="center"
      >行政区域联动设置</el-divider
    >
    <el-form-item label="隐藏地区">
      <el-switch v-model="activeData.hideArea" :active-value="true" :inactive-value="false">
      </el-switch>
    </el-form-item>
    <el-form-item label="只显示省份">
      <el-switch v-model="activeData.onlyProvince" :active-value="true" :inactive-value="false">
      </el-switch>
    </el-form-item>
    
  </div>
</template>

<script>
export default {
  name: 'UnRegionSetter',
  props: {
    activeData: Object
  }
}
</script>
